import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

// 购物车
import cart from "@/store/modules/cart.js"
// 地址
import path from "@/store/modules/path.js"
// 用户
import user from "@/store/modules/user.js"
// 订单
import order from "@/store/modules/order.js"
// 足迹
import goods_browse from "@/store/modules/goods_browse.js"
// 收藏
import goods_collect from "@/store/modules/goods_collect.js"

export default new Vuex.Store({
	modules:{
		cart,
		path,
		user,
		order,
		goods_browse,
		goods_collect
	}
})